using System;
using System.Linq;
using DTOSW.Core.Membership.Objects.Model;
using DTOSW.Core.Membership.Security;

namespace DTOSW.Core.Membership.Interfaces.Repositories
{
    public interface IMembershipRepository
    {
        IQueryable<User> GetUser();
        CreationStatus CreateUser(string username, string password, string email);
        DeleteStatus DeleteUser(Guid userID);
        UpdateStatus UpdateProfile(Profile profile);
        void ChangePassword(Guid userID, string currentPassword, string newPassword);
    }
}